deploy: Port file copying code to GLnxDirFdIterator
authorColin Walters <walters@verbum.org>
Thu, 4 Aug 2016 01:24:09 +0000 (21:24 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 8 Aug 2016 14:16:34 +0000 (14:16 +0000)
commit686d0352e1217af633058b2476a36d7cf6ae81dc
tree106d49c9fcb8fea8a206186d45fa580f72333919
parent8dab17f6dbc7934af416e833c2c1ab29b7a928af
deploy: Port file copying code to GLnxDirFdIterator

It handles ownership of the `DIR*` for us more cleanly, and
is just a better API.

This is in preparation for further changes to this code to do SELinux
labeling while copying.

Closes: #428
Approved by: jlebon
src/libostree/ostree-sysroot-deploy.c